﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MVC4WPF.Automation.Data
{
    [Serializable()]
    public class ViewDefinition
    {
        /// <summary>
        /// The name of the view.
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// The namespace of the view.
        /// </summary>
        public string Namespace { get; set; }

        /// <summary>
        /// The MVCItemType type of the view.
        /// </summary>
        public MVCItemType ViewType { get; set; }

        /// <summary>
        /// Information about the view contract for the MVC4WPF view.
        /// </summary>
        public ContractInformation ContractInformation { get; set; }

        /// <summary>
        /// The fully qualified name of the base class for the view.
        /// </summary>
        public string ViewBaseClass { get; set; }

        /// <summary>
        /// The name of the base class of the view.
        /// </summary>
        public string ViewBaseClassName { get; set; }

        /// <summary>
        /// The name of the control type of the view.
        /// </summary>
        public string ControlTypeName { get; set; }
    }
}
